From: Florian Müllner Date: Mon, 8 Aug 2022 00:54:11 +0000 (+0200) Subject: status/bluetooth: Fix call to undefined method X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~461^2^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0c7446c1fc89979a00847ae7bbc0425600b92f25;p=gnome-shell.git status/bluetooth: Fix call to undefined method The method started out as private and was then made public without updating the internal caller, whoops. Spotted by Sebastian Keller. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5722 Part-of: --- diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js index aed017a47..580121a8d 100644 --- a/js/ui/status/bluetooth.js +++ b/js/ui/status/bluetooth.js @@ -42,7 +42,7 @@ const BtClient = GObject.registerClass({ const newAdapter = this._client.default_adapter ?? null; if (newAdapter && this._adapter) - this._setHadSetupDevices([...this._getDevices()].length > 0); + this._setHadSetupDevices([...this.getDevices()].length > 0); this._adapter = newAdapter; this._deviceNotifyConnected.clear();